Skip to main content

ModifyStartVulScan

Description

Call the ModifyStartVulScan to enable the one-click scan function on the console vulnerability repair page.

Request Method

POST

Request Path

/apsara/route/aegis/ModifyStartVulScan

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TypesBODYstringNo"cve,sys,cms,app,emg"sets the vulnerability type detected by the one-click scan function. The following values can be set: cve:Linux software vulnerability sys:Windows system vulnerability cms:Web-CMS vulnerability app: application vulnerability emg: emergency vulnerability image: container image vulnerability Description If the value is empty, all vulnerability types will be detected.
regionIdBODYstringYesNo sample value for this parameter.region id
UuidsBODYstringNo{"i-sdada-xxxxx","i-ifaedada-sfsasdxxx"}server list.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstring4066CAC3-F83A-4729-9995-A5558A61B546the unique identifier generated by alibaba cloud for this request.

Example

Successful Response example

{
"RequestId":"4066CAC3-F83A-4729-9995-A5558A61B546"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}